package com.wlcorp.forcazamis.business.storagein;

import java.util.List;

import com.wlcorp.forcazamis.domain.storagein.StorageIn;
import com.wlcorp.forcazamis.domain.storagein.StorageInSample;
import com.wlcorp.forcazamis.exception.ServiceException;

public interface IStorageInService {
	public List<StorageIn> getStorageInList(final StorageIn storageIn) throws ServiceException;
	public Long getStorageInCount(final StorageIn storageIn) throws ServiceException;
	public StorageIn getStorageInById(Long storageInId) throws ServiceException;
	public void deleteStorageIn(StorageIn storageIn) throws ServiceException;
	public void saveStorageIn(StorageIn storageIn) throws ServiceException;
	
	public List<StorageInSample> getStorageInSampleList(final StorageInSample storageInSample) throws ServiceException;
	public Long getStorageInSampleCount(final StorageInSample storageInSample) throws ServiceException;
	public void saveStorageInSample(Long storageInId,List<StorageInSample> storageInSampleList) throws ServiceException;
	
	public void withDrawStorageIn(StorageIn storageIn) throws ServiceException;
}
